﻿using System;
using System.Collections.Generic;
using System.Text;
using Wolfut.MirageEE.Domain.Common;

namespace Wolfut.MirageEE.Interface.Common
{
    public interface ICodeRulesService
    {
        CodeRule AddOrUpdateCodeRule(CodeRule item);
        CodeRule GetCodeRuleByCodePrefix(String codePrefix);
        CodeRule GetCodeRuleByID(String codeRuleID);
        IList<CodeRule> ListCodeRulesByCodeFlag(String codeFlag, bool isDeleted);
        String GenerateCodeRuleByCodePre(String CodePre);
    }
}
